package com.wang.openApiclientsdk.service;


import com.wang.openApiCommon.common.BaseResponse;
import com.wang.openApiCommon.common.ResultUtils;
import com.wang.openApiclientsdk.service.random.RandomService;

public class GlobalUtil {
    private RandomService randomService = new RandomService();

    public BaseResponse<String> getRandomByGet() {
        String result = randomService.getRandomByGet();
        return ResultUtils.success(result);
    }

    public BaseResponse<String> getRandomLengthByGet(String length) {
        String result = randomService.getRandomLengthByGet(length);
        return ResultUtils.success(result);
    }
}
